import * as moment from "moment"
// @ts-ignore
import * as momentDurationFormatSetup from 'moment-duration-format';
momentDurationFormatSetup(moment);

Array.prototype.random = function() {
  return this[Math.floor(Math.random() * this.length)]
}